﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SurveillanceLib
{
    /// <summary>
    /// 大屏信息，用于数据库中的存储
    /// </summary>
    public class WallInformationModel
    {
        #region 数据库字段

        /// <summary>
        /// 大屏序号
        /// </summary>
        public int WallIndex { get; set; }

        /// <summary>
        /// 视频序号
        /// </summary>
        public int PanelIndex { get; set; }

        /// <summary>
        /// IP 地址
        /// </summary>
        public string IP { get; set; }

        /// <summary>
        /// 端口号
        /// </summary>
        public string Port { get; set; }

        /// <summary>
        /// 通道号
        /// </summary>
        public string Channel { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }

        /// <summary>
        /// 设备类型
        /// </summary>
        public string Type { get; set; }

        #endregion

        #region 附加字段

        /// <summary>
        /// 是否登录成功
        /// </summary>
        public bool IsLoginSuccessful { get; set; }

        /// <summary>
        /// 登录 ID
        /// </summary>
        public string LoginID { get; set; }

        /// <summary>
        /// 设备实例化
        /// </summary>
        public DriverBase DriverInstance { get; set; }

        #endregion
    }
}
